package vn.vfriends.vbox.service;

import java.util.List;
import vn.vfriends.vbox.model.Account;

/**
 *
 * @author tuancn
 */
public interface AccountService {

    public List<Account> findByUserId(Integer userId);
    
    public Account findByName(Integer userId, String name);

    public void remove(Integer id);

    public Account register(Integer userId, Account account);
    
}
